/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tenorclient;

/**
 *
 * @author Tomasz Nowak
 */
public class Creditentials
{
	
	private IContact contact;
	private String password;
	
	private Creditentials()
	{

	}
	
	public static Creditentials getInstance()
	{
		if(instance == null)
		{
			instance = new Creditentials();
		}
		return instance;
	}
	
	public void setCreditentials(IContact contact_, String pass)
	{
		contact = contact_;
		password = pass;
	}
	
	public IContact getContact()
	{
		return contact;
	}
	
	private static Creditentials instance;
}
